package vip.xiaonuo.modular.manage.bicouponwrite.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("bi_coupon_write")
public class BiCouponWrite {

    @ExcelIgnore
    @TableId(type =  IdType.AUTO)
    private Long id;

    @ExcelProperty(value = "订单编号")
    @Excel(name = "订单编号")
    private String orderNumber;

    @ExcelProperty(value = "活动名称")
    @Excel(name = "活动名称")
    private String activityName;

    private String storeName;

    @ExcelProperty(value = "活动类型")
    @Excel(name = "活动类型")
    private String activityType;

    @ExcelProperty(value = "核销门店编号")
    private String writeStoreId;

    @ExcelProperty(value = "券核销面额(元)")
    @Excel(name = "券核销面额(元)")
    private BigDecimal orderAmount;

    @ExcelProperty(value = "券名称")
    @Excel(name = "券名称")
    private String couponName;

    @ExcelProperty(value = "订单时间")
    @Excel(name = "订单时间")
    private String orderTime;

    /**
     * 店铺组织代号
     * 茶百道=> chabaidao
     */
    private String orgCode;
}
